//
//  WAClickTroughImageView.m
//  WeatherApp
//
//  Created by Yuliya Grasevych on 29.07.14.
//  Copyright (c) 2014 Yuliya Grasevych. All rights reserved.
//

#import "WACustomImageView.h"

@implementation WACustomImageView

- (id)initWithFrame:(NSRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
    }
    return self;
}

- (void)drawRect:(NSRect)dirtyRect
{
    [super drawRect:dirtyRect];
    
    // Drawing code here.
}

-(BOOL)mouseDownCanMoveWindow
{
    return YES;
}

- (void)setImageScaling:(NSImageScaling)newScaling
{
	// That's necessary to use nothing but NSImageScaleAxesIndependently
	[super setImageScaling:NSImageScaleAxesIndependently];
}

@end
